-- GENERATED SPELL FOR [Human Footman] --


function spell0_17211(pUnit, Event) --@Heroic Blow,n/a--
pUnit:FullCastSpellOnTarget(37406,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17211', 0, 1)
end

function Sorts_17211(pUnit, Event)
local choix_sorts_17211 = math.random(0, 0)
if choix_sorts_17211 == 0 then
pUnit:RegisterEvent('spell0_17211', 1, 1)
end
end

function mob17211_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17211', math.random(1500, 3000), 1)
end

function mob17211_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17211_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17211_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17211, 1, 'mob17211_Action')
RegisterUnitEvent(17211, 2, 'mob17211_Leave')
RegisterUnitEvent(17211, 3, 'mob17211_Kill')
RegisterUnitEvent(17211, 4, 'mob17211_Die')
